/*
 * 创建日期 2010-4-16
 *
 * 成都天和软件公司
 * 电话：028-85425861
 * 传真：028-85425861-8008
 * 邮编：610041 
 * 版权所有
 */
package  org.fantasy.cpp.core.html.edit;

import javax.servlet.http.HttpServletRequest;

import  org.fantasy.cpp.core.bean.ParamContext;
import  org.fantasy.cpp.core.html.EditHtml;

/**
 * Html构造工厂
 * @author: 王文成
 * @version: 1.0
 * @since 2010-4-16
 */
public class EditHtmlFactory {


	public static EditHtml getSelectHtml(HttpServletRequest request, ParamContext param) {
		return new SelectHtml(request, param);
	}

	public static EditHtml getTextHtml(HttpServletRequest request, ParamContext param) {
		return new TextHtml(request, param);
	}

	public static EditHtml getTextAreaHtml(HttpServletRequest request, ParamContext param) {
		return new TextAreaHtml(request, param);
	}

	public static EditHtml getHiddenHtml(HttpServletRequest request, ParamContext param) {
		return new HiddenHtml(request, param);
	}
}
